package com.ktgj.other.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ktgj.other.mapper.EtOrderEmergencyadmissionMapper;
import com.ktgj.other.domain.EtOrderEmergencyadmission;
import com.ktgj.other.service.IEtOrderEmergencyadmissionService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-07-22
 */
@Service
public class EtOrderEmergencyadmissionServiceImpl implements IEtOrderEmergencyadmissionService 
{
    @Autowired
    private EtOrderEmergencyadmissionMapper etOrderEmergencyadmissionMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param emergencyadmissionid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public EtOrderEmergencyadmission selectEtOrderEmergencyadmissionById(Long emergencyadmissionid)
    {
        return etOrderEmergencyadmissionMapper.selectEtOrderEmergencyadmissionById(emergencyadmissionid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param etOrderEmergencyadmission 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<EtOrderEmergencyadmission> selectEtOrderEmergencyadmissionList(EtOrderEmergencyadmission etOrderEmergencyadmission)
    {
        return etOrderEmergencyadmissionMapper.selectEtOrderEmergencyadmissionList(etOrderEmergencyadmission);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param etOrderEmergencyadmission 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertEtOrderEmergencyadmission(EtOrderEmergencyadmission etOrderEmergencyadmission)
    {
        return etOrderEmergencyadmissionMapper.insertEtOrderEmergencyadmission(etOrderEmergencyadmission);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param etOrderEmergencyadmission 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateEtOrderEmergencyadmission(EtOrderEmergencyadmission etOrderEmergencyadmission)
    {
        return etOrderEmergencyadmissionMapper.updateEtOrderEmergencyadmission(etOrderEmergencyadmission);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param emergencyadmissionids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtOrderEmergencyadmissionByIds(Long[] emergencyadmissionids)
    {
        return etOrderEmergencyadmissionMapper.deleteEtOrderEmergencyadmissionByIds(emergencyadmissionids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param emergencyadmissionid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteEtOrderEmergencyadmissionById(Long emergencyadmissionid)
    {
        return etOrderEmergencyadmissionMapper.deleteEtOrderEmergencyadmissionById(emergencyadmissionid);
    }
}
